{% extends "base_2col.html" %}
{% load i18n %}

{% block sectionid %}documentation{% endblock %}
{% block title %}{% trans "Project list" %} - {{ block.super }}{% endblock %}
{% block billboard %}<h2><a href="{%url doc_trans-docs-project-list%}">{% trans "Project list" %}</a></h2>{% endblock %}

{% block active_nav-documentation %}class="active"{% endblock %}

{% block content %}
<h1>{% trans "Project list" %}</h1>
<div class="content first-content">
    <h2 class="deck">
         {% trans "All documentation translation projects available are listed here." %}
    </h2>
	
    <ul class="linklist doclist">
    {% for project_object in project_objects %}
        <li id="project_object.name">
            <a href="{%url doc_trans-docs-project-index project_object.slug%}"
            title="{{ project_object.name  }}">{{ project_object.name }}</a>
            <p>{{ project_object.project_description }}</p>
			<ul>
				<li style="display:inline;">
					<a href="{%url doc_trans-docs-project-serve project_object.slug "en"%}" style="display:inline;background:none">{% trans "English" %}</a>
					<a href="{%url doc_trans-docs-project-serve project_object.slug "zh-cn"%}" style="display:inline;background:none">{% trans "Chinese" %}</a>
					<a href="{%url doc_trans-docs-project-serve project_object.slug "en.zip"%}" style="display:inline;background:none">{% trans "English" %} {% trans "Download" %}</a>
					<a href="{%url doc_trans-docs-project-serve project_object.slug "zh-cn.zip"%}" style="display:inline;background:none">{% trans "Chinese" %} {% trans "Download" %}</a>
				</li>
			</ul>
        </li>
    {% endfor %}
    </ul>
</div>
{% endblock %}

{% block content-related %}
    <h2>{% trans "Participate in" %}</h2>
    <p>
        {% blocktrans %}The documentation provided here maybe not translated completely, you can{% endblocktrans %}
		<a href="{%url doc_trans-trans-index%}">Participate in</a>
		{% blocktrans %}project you like,and contribute to it.{% endblocktrans %}
    </p>
    <p><a href="{%url doc_trans-trans-index%}" class="more-about">{% trans "Participate in" %}...</a></p>
{% endblock %}